/*
 *  APP
 *  App states that alter the behaviour or structure of the app container, e.g. prevent scrolling when overlay is activated
 *
 *  TODO: Can some of the following be consolidated into generic states or moved into the component they relate to?
 */

@keyframes page-loader-exit {
  0% {
    transform: scale(1);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0);
  }
}

.app {
  background-color: $offWhite;

  &.overflow-hidden {
    overflow: hidden;
  }

  .app-content {
    /* When blog categories dropdown is open */
    &.disabled {
      // opacity: 0;
      // transition-delay: 0s;
      pointer-events: none;
    }

    /* For when mobile navigation-overlay is visible to prevent scrolling of the page underneath */
    &.mobile-no-scroll {
      // opacity: 0;
    }
  }

  /* 404 page bound by viewport size */
  &.app-404 {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
  }
}

.section-title {
  @extend .h5;
  margin-bottom: 6px;

  @media scree and (min-width: $bp-small) {
    margin-bottom: 10px;
  }
}


.app-wrapper,
.app,
.app-content,
.page-content,
.page-home-content {
  height: 100%;
}
